package com.woniu.car.parameter;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Email;

//

/**
 * Description:
 * date: 2021/6/22 9:49
 *
 * @author zhoubinbin
 * @since
 */
@Data
@ApiModel("用户详情参数对象")
public class UserInfoParam {

    /**
     * 性别0:女1：男
     */
    @ApiModelProperty(value = "性别",example = "0代表女1代表男",required = true)
    private Integer gender;
    /**
     * 年龄
     */
    @ApiModelProperty(value = "年龄",example = "18",required = true)
    private Integer age;

    /**
     * 昵称
     */
    @ApiModelProperty(value = "昵称",required = true)
    private String nickName;

    /**
     * 邮箱
     */
    @Email
    @ApiModelProperty(value = "邮箱",required = true)
    private String email;

}
